import 'package:flutter/material.dart';
import 'pages/QueueFirst.dart';
import 'routes/Routes.dart';

void main() {
  runApp(MyApp());
}

// 自定义组件
class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    // TODO: implement build
    return MaterialApp(
        home: QueueFirst(),
        // initialRoute: '/first', // 初始化的时候加载的路由
        // theme: ThemeData(primaryColor: Colors.yellow)
        onGenerateRoute: onGenerateRoute);
  }
}
